package com.itheima.Demo05;

public class Demo通过Thread解决 {
    public static void main(String[] args) {
        AAA a = new AAA();
        a.setName("窗口一");
        a.start();
        AAA a2 = new AAA();
        a2.setName("窗口二");
        a2.start();
    }
}
